package com.flute.tools.util.performance;

import com.flute.tools.util.collection.Accumulator;

import junit.framework.TestCase;

public class TimeScopeTest extends TestCase {

	public void testTimeScope() {
		Accumulator<TimeScope> acc = new Accumulator<TimeScope>();
		acc.addKey(new TimeScope(0, 10));
		acc.addKey(new TimeScope(0, 10));
		System.out.println(acc.toString());
		
		Accumulator<String> acc1 = new Accumulator<String>();
		acc1.addKey("10");
		acc1.addKey("10");
		System.out.println(acc1.toString());
	}

}
